home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
3card_poker.swf
/
scripts
/
DefineButton2_62
/
BUTTONCONDACTION on(press).as
Wrap
Text File
|
2006-01-17
|
2KB
|
71 lines
on(press){
if(tOff == "0")
{
if(betMover == "1")
{
tellTarget("/b-deal")
{
gotoAndStop(2);
}
Credits += creditsPlayed;
creditsPlayed = "0";
creditsPlayedpp = "0";
creditsPlayedpl = "0";
creditsPlayedan = "0";
OnMax = "0";
OnMaxBet = "0";
tellTarget("_level0/")
{
gotoAndStop("dope");
play();
}
qd2 = eval("_level0/:qd");
while(qd2 >= "2")
{
removeMovieClip("_level0/cr" add qd2);
removeMovieClip("_level0/dr" add qd2);
removeMovieClip("_level0/er" add qd2);
removeMovieClip("_level0/fr" add qd2);
removeMovieClip("_level0/gr" add qd2);
qd2 -= "2";
}
setProperty("_level0/cr1", _Y, "452.5");
setProperty("_level0/cr1", _X, "245.1");
setProperty("_level0/dr1", _Y, "452.5");
setProperty("_level0/dr1", _X, "286.1");
setProperty("_level0/er1", _Y, "452.5");
setProperty("_level0/er1", _X, "328.1");
setProperty("_level0/fr1", _Y, "452.5");
setProperty("_level0/fr1", _X, "370.1");
setProperty("_level0/gr1", _Y, "452.5");
setProperty("_level0/gr1", _X, "410.1");
tellTarget("_level0/cr1")
{
gotoAndStop(1);
}
tellTarget("_level0/dr1")
{
gotoAndStop(1);
}
tellTarget("_level0/er1")
{
gotoAndStop(1);
}
tellTarget("_level0/fr1")
{
gotoAndStop(1);
}
tellTarget("_level0/gr1")
{
gotoAndStop(1);
}
set("_level0/:qd","1");
set("_level0/:j","1");
set("_level0/:k","1");
set("_level0/:l","1");
set("_level0/:m","1");
set("_level0/:n","1");
}
}
}